import request from '@/router/axios'

export function GetInfoList() {
  return request({
    url: '/api/DataCenter/GetInfoList',
    method: 'get'
  })
}

// 顶部数量
export function GetTipsCount(data) {
  return request({
    url: '/api/DataCenter/GetTipsCount?type=' + data,
    method: 'post'
  })
}
// 第二页
export function GetInfo(data) {
  return request({
    url: '/api/DataCenter/GetInfo',
    method: 'get',
    params: data
  })
}

export function SetRead(data) {
  return request({
    url: '/api/DataCenter/SetRead',
    method: 'get',
    params: data
  })
}
